from waftools.pebble_test import clar

def build(ctx):
    clar(ctx,
        sources_ant_glob = \
            " src/fw/util/dict.c" \
            " src/fw/services/normal/filesystem/flash_translation.c" \
            " src/fw/services/normal/filesystem/pfs.c" \
            " tests/fakes/fake_spi_flash.c" \
            " src/fw/util/crc8.c" \
            " src/fw/util/legacy_checksum.c" \
            " src/fw/flash_region/filesystem_regions.c" \
            " src/fw/flash_region/flash_region.c" \
            " tests/fakes/fake_rtc.c" \
            " src/fw/system/hexdump.c" \
            " src/fw/services/normal/settings/settings_file.c" \
            " src/fw/services/normal/settings/settings_raw_iter.c" \
            " src/fw/util/rand/rand.c" \
            " third_party/tinymt/TinyMT/tinymt/tinymt32.c",
        test_sources_ant_glob = "test_settings_file.c",
        defines=['DUMA_DISABLED'],  # DUMA false-positive, therefore disabled
        override_includes=['dummy_board'])

# vim:filetype=python
